package com.yl.auth.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yl.auth.model.entity.HuLiDengJiBianGeng;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yl.auth.model.vo.HuLiDengJiBianGengVo;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author L
 * @since 2023-07-04
 */
public interface HuLiDengJiBianGengMapper extends BaseMapper<HuLiDengJiBianGeng> {

    Page<HuLiDengJiBianGeng> findAllConPage(Page<HuLiDengJiBianGeng> page1,@Param("huLiDengJiBianGengVo")HuLiDengJiBianGengVo huLiDengJiBianGengVo);

    @Select("select name from laoren where id = #{id}")
    String getLaoRenShenPiById(@Param("id") Long id);

    List<HuLiDengJiBianGeng> findAll();


//    Page<HuLiDengJiBianGeng> findAllHuLiDengJi(Page<HuLiDengJiBianGeng> page1,@Param("name")String name,@Param("idNumber")String idNumber,@Param("gender")String gender,@Param("state")Integer state);
}
